package org.linlinjava.litemall.admin.form;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.Size;
import java.util.List;

public class HomeAddRecommendForm {
    @NotEmpty(message = "类型不能为空")
    private String type;
    @Size(min = 1, message = "商品不能为空")
    private List<Integer> goodsIds;

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public List<Integer> getGoodsIds() {
        return goodsIds;
    }

    public void setGoodsIds(List<Integer> goodsIds) {
        this.goodsIds = goodsIds;
    }
}
